Xbasic
Line_ReverseOrder Function
Syntax
New_List as C = line_reverseOrder(C lines )
Arguments
- New_List
A reordered CR-LF delimited list.
- lines
List A CR-LF delimited list.
Description
Reverse the order of the entries in a crlf delimited list.
Discussion
The Line_ReverseOrder() function reverses the order of entries in a CR-LF delimited string.
Example
col = a5.Color_Enum() col = word(col, 1, crlf() , 5) ? col = Black Dark Red Red Pink Rose col = Line_ReverseOrder(col) ? col = Rose Pink Red Dark Red Black
See Also